package com.blog.attach.service;

import com.blog.attach.entity.UserComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 苏离
 * @since 2022-01-18
 */
public interface UserCommentService extends IService<UserComment> {
    Map<String,Object> getComments(Integer articleId,Integer pageNo,Integer limit);
    boolean insertComment(String userId,Integer articleId,String content);
    boolean deleteComment(Integer commentId);
}
